package com.wang.cloud.manage.domain.co;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;


/**
 * <p>
 * 系统-角色信息表
 * </p>
 *
 * @author wy
 * @since 2024-07-15
 */
@Getter
@Setter
@Schema(description = "系统-角色信息表更新参数")
public class RoleUpdateCo extends RoleCo {

    @NotNull(message = "id不能为空")
    @Min(value = 1, message = "id不能小于1")
    @Schema(description = "数据ID")
    private Long id;

}
